#if !defined(AFX_SETPARAMETERSDLG_H__C5E48696_C5C9_4F57_BD8C_D45C676C1FCB__INCLUDED_)
#define AFX_SETPARAMETERSDLG_H__C5E48696_C5C9_4F57_BD8C_D45C676C1FCB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetParameters.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetParametersDlg dialog

class CSetParametersDlg : public CDialog
{
// Construction
public:
	CSetParametersDlg(CWnd* pParent = NULL);   // standard constructor

	void PresetBitRate(int br);
	void PresetPassword(CString password);
	void PresetPort(int port);
	void PresetFrameRate(int nfps);
	void PresetIPAddress(CStringList* plist, CString curaddr);
	int GetBitRate();
	int GetFrameRate();
	int GetPort();
	CString GetPassword();
	CString GetIPAddress();

// Dialog Data
	//{{AFX_DATA(CSetParametersDlg)
	enum { IDD = IDD_SETPARAMETERS };
	CComboBox	m_frameRate;
	CComboBox	m_ipAddress;
	CComboBox	m_codecs;
	UINT	m_port;
	CString	m_password;
	UINT	m_bitRate;
	//}}AFX_DATA

	int m_nFPS;
	CString m_addr;
	CStringList m_list;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetParametersDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetParametersDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int m_seq;
public:
	int m_packsize;
public:
	BOOL m_enablefec;
public:
	int m_FecMode;
public:
	afx_msg void OnCbnSelchangeCombo3();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SETPARAMETERSDLG_H__C5E48696_C5C9_4F57_BD8C_D45C676C1FCB__INCLUDED_)
